package com.atguigu.webadmin.service;

import com.atguigu.model.pojo.ApartmentInfo;
import com.atguigu.webadmin.vo.apartment.ApartmentDetailVo;
import com.atguigu.webadmin.vo.apartment.ApartmentItemVo;
import com.atguigu.webadmin.vo.apartment.ApartmentQueryVo;
import com.atguigu.webadmin.vo.apartment.ApartmentSubmitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * @Author 梅超凡
 * @Date 2024/11/13~9:28
 * @Description 针对表【apartment_info(公寓信息表)】的数据库操作Service
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    void saveOrUpdateApartment(ApartmentSubmitVo apartmentSubmitVo);

    IPage<ApartmentItemVo> pageItemApartmentItemByQuery(IPage<ApartmentItemVo> page, ApartmentQueryVo queryVo);

    ApartmentDetailVo getApartmentDetailById(Long id);

    void removeApartmentById(Long id);
}
